package homework2;

class dog extends animal {
    @Override
    public void eat() {
        System.out.println(getLeg() + "条腿的" + getColor() + "的狗吃骨头");

    }

    public void lookHome() {
        System.out.println(getLeg() + "条腿的" + getColor() + "的狗看家");
    }
}
